package April._25.homework.work5;

import untils.TestFlag;

import java.io.*;
import java.util.Properties;

public class Temp {
    public static void main(String[] args) throws IOException {
        //从配置文件获取回答
        Properties properties = new Properties();
        properties.load(new InputStreamReader(new FileInputStream("fileTest/config.properties"), "UTF-8"));
        String recive = properties.getProperty("password");
        if (TestFlag.testFlag) {
            System.out.println("recive = " + recive);
        }
    }
}
